<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User_model extends MY_Model
{
    function User_model()
    {
        parent::MY_Model();
    }
	function ww_get_list_user($type, $numrow, $page)
	{
        $data = array();
		$result = $this->getRowsOnMultiQuery("CALL ww_get_list_user('$type', '$page', '$numrow');");
        $data['items'] = $result[0];
        $data['total'] = $result[1][0];
        return $data;
	}
 }